package Graph;

import java.util.ArrayList;

public class GraphElement {
	public ArrayList<Integer> carsOnRoad = new ArrayList<Integer>(1);
	public ArrayList<Integer> getCarsOnRoad(){
		return this.carsOnRoad;
	}
	public void delFirst(){
		this.carsOnRoad.remove(0);
	}
	public void addEnd(int e){
		this.carsOnRoad.add(e);
	}
}
